package com.example.demo.model.response;

import com.example.demo.common.LongToDateStringSerialize;
import com.example.demo.common.LongToMonthStringSerialize;
import com.example.demo.jooq.tables.pojos.Account;
import com.example.demo.jooq.tables.pojos.Vps;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.math.BigDecimal;
@Data
public class AccountPageResponse {
    private String accountId="3232132323";
    private String accountUseType="白号/黑号/加购号";
    @JsonSerialize(using = LongToDateStringSerialize.class)
    private Long createdDate=1569573653000L;
    @JsonSerialize(using = LongToDateStringSerialize.class)
    private Long updatedDate=1569573653000L;
    private String star="可留评";
    /**所属站点*/
    private String site="美国";
    private String serviceName="服务器A";
    private String serviceUser="1";
    private String virtualName="win7-jp-001";
    private String browser="用户1";
    private String email="dengkaixian@qq.com";
    /**卡信息*/
    private String visaCardNo="232334234";
    private BigDecimal balanceAmount=new BigDecimal(20);

    private String accountStatus="使用中";
    /**负责人*/
    private String chargeUserName="邓凯献";
    /**最近免评单日期*/
    @JsonSerialize(using = LongToDateStringSerialize.class)
    private Long recentlyNoCommentOrderDate=1569573653000L;
    /***最近留评单日期*/
    @JsonSerialize(using = LongToDateStringSerialize.class)
    private Long recentlyCommentOrderDate=1569573653000L;

    //虚拟机
    private String virtualId;
    private String virtualLocalIp;
    private String virtualUser;
    private String virtualPassword;
    //卡
    private String     visaCardId;
    private String     visaType;
    private String     visaChannel;
    private String     cvc;
    @JsonSerialize(using = LongToMonthStringSerialize.class)
    private Long       endDate;
    private BigDecimal totalAmount;
    private Long       useAmount;
    private String     cardStatus;
    //IP
    private String     vpsId;
    private String     channel;
    private String     channelUrl;
    private String     channelUser;
    private String     vpsName;
    private Integer totalLine;
    private String     vpsIp;
    private String     sshUser;
    private String     sshPassword;
    @JsonSerialize(using = LongToDateStringSerialize.class)
    private Long       vpsStartDate;
    @JsonSerialize(using = LongToDateStringSerialize.class)
    private Long       vpsEndDate;
    private Long       month;
    private Long       year;
    private BigDecimal price;
    private String     vpsConfig;

    //地址
    private String addressId;
    private String name;
    private String country;
    private String phone;
    private String zipcode;
    private String state;
    private String city;
    private String address;



}
